﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.App_Start
{
    public class BaseController:IController
    {
        public IResult Content(string content)
        {
            return new ContentResult(content);
        }
        public IResult View(string viewName=null)
        {
            return new ViewResult(viewName);
        }
        public IResult FileResult(string fileName)
        {
            return new FileResult(fileName);
        }
    }
}